import React, { Suspense } from "react";
import { Menu } from "antd";

const { SubMenu } = Menu;

function ChannnelSettingMenu({ handleClick }) {
	return (
		<div className='channelSetting'>
			<Menu
				onClick={handleClick}
				defaultSelectedKeys={["1"]}
				mode='vertical'
				style={{
					borderRight: "unset",
					backgroundColor: "transparent",
				}}
			>
				<SubMenu
					key='sub1'
					title={
						<span>
							<span>渠道设置</span>
						</span>
					}>
					<Menu.Item key='web'>
						<span>网页版</span>
					</Menu.Item>
					<Menu.Item key='qywx'>
						<span>企业微信</span>
					</Menu.Item>
					<Menu.Item key='third'>
						<span>第三方应用</span>
					</Menu.Item>
				</SubMenu>
			</Menu>
		</div>
	);
}

export default ChannnelSettingMenu;
